{{~ it:cmt:index}}
<div class="qcmt-item" data-cmt-id="{{=cmt.id}}">
	<a href="{{=QCmt.user_link(cmt.from_uid)}}" class="qcmt-avatar"> <img data-src="{{=cmt.avatar}}" src="{{=QCmt.option.default_avatar}}" class="lazyload" alt="{{=cmt.nickname}}" title="{{=cmt.nickname}}"> </a>
	<div class="qcmt-detail">
		<h4><a href="{{=QCmt.user_link(cmt.from_uid)}}">{{=cmt.nickname}}</a> <span class="right"><span>{{=QCmt.formatAgo(cmt.time)}}</span>  ❁  <span> {{=cmt.ip}} </span></span></h4>
		<div class="qcmt-content">{{=window.parseEmotionContent(cmt.content)}}  {{= QCmt.parseFiles(cmt.files) }}</div>
		<div class="qcmt-sub">
			<p class="qcmt-act">
				<span data-cmt-action="reply" data-type="comment" data-id="{{=cmt.id}}" data-cmt-id="{{=cmt.id}}" data-nickname="{{=cmt.nickname}}"><i class="iconfont icon-comment"></i>回复(<b class="qcmt-cmt-num-{{=cmt.id}}">{{=cmt.replies||0}}</b>)</span>
				<span data-cmt-action="zan" data-type="comment" data-id="{{=cmt.id}}" data-nickname="{{=cmt.nickname}}"><i class="iconfont icon-zan"></i><b>{{=cmt.zan}}</b></span>
				<span data-cmt-action="cai" data-type="comment" data-id="{{=cmt.id}}" data-nickname="{{=cmt.nickname}}"><i class="iconfont icon-cai"></i><b>{{=cmt.cai}}</b></span>
			</p>
			{{? cmt.replys}}
			<div class="qcmt-sub-list" id="qcmt-replys-{{=cmt.id}}">
				{{~ cmt.replys:reply:r}}
				<div class="qcmt-item" id="qcmt-reply-{{=reply.id}}">
					<a href="{{=QCmt.user_link(reply.from_uid)}}" class="qcmt-avatar"> <img data-src="{{=reply.from_avatar}}" class="lazyload" src="{{=QCmt.option.default_avatar}}" alt="{{= reply.from_nickname }}" title="{{= reply.from_nickname }}"> </a>
					<div class="qcmt-detail">
						<h4><a href="{{=QCmt.user_link(reply.from_uid)}}">{{= reply.from_nickname }}</a>{{? reply.from_uid != reply.to_uid}} ➽
							<a href="{{=QCmt.user_link(reply.from_uid)}}">{{= reply.to_nickname }}</a>{{? }}

							<span class="right"><span>{{=QCmt.formatAgo(reply.time)}}</span>  ❁  <span> {{=reply.ip}} </span></span>
						</h4>
						<div class="qcmt-content">{{= window.parseEmotionContent(reply.content) }} {{= QCmt.parseFiles(reply.files) }}</div>
						<div class="qcmt-sub">
							<div class="qcmt-act">
								<span data-cmt-action="reply" data-type="reply" data-id="{{=reply.id}}" data-cmt-id="{{=reply.cmt_id}}" data-nickname="{{=reply.from_nickname}}"><i class="iconfont icon-comment"></i>回复(<b  class="qcmt-reply-num-{{=reply.id}}">{{=reply.replies||0}}</b>)</span>
								<span data-cmt-action="zan" data-type="reply" data-id="{{=reply.id}}" data-cmt-id="{{=reply.cmt_id}}" data-nickname="{{=reply.from_nickname}}"><i class="iconfont icon-zan"></i><b>{{= reply.zan }}</b></span>
								<span data-cmt-action="cai" data-type="reply" data-id="{{=reply.id}}" data-cmt-id="{{=reply.cmt_id}}" data-nickname="{{=reply.from_nickname}}"><i class="iconfont icon-cai"></i><b>{{= reply.cai }}</b></span>
							</div>
						</div>
					</div>
				</div>
				{{~}}
			</div>
				{{? cmt.replies && (cmt.replies > cmt.replys.length)}}
				<p class="qcmt-load-reply" data-id="{{=cmt.id}}" data-all="{{=cmt.replies}}"  data-num="{{=cmt.replys.length}}">------------展开加载更多 ▼ </p>
				{{? }}
			{{?}}
		</div>
	</div>
</div>
{{~}}